<template>
	<div class="shopxiangqing">
		<!-- 顶部返回 -->
		<van-nav-bar
		  title="商品列表"
		  left-arrow
		  @click-left="$router.go(-1)"
		/>
		<div class="shop_list" v-for="item in shujvList" :key="item.goods_id">
			<van-card
			  :num="item.num"
			  :price="item.goods_price"
			  :title="item.goods_name"
			  :thumb="item.small_image"
			/>
		</div>
	</div>
</template>

<script>
	export default {
		name:"shopxiangqing",
		props:['shujvList'],
	}
</script>

<style scoped lang="less">
	.shopxiangqing{
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		background-color: #fcfcfc;
		z-index: 10;
		.shop_list{
			margin-top: 5px;
			border-bottom: 1px solid #ccc;
		}
	}
</style>